﻿using System.ServiceModel;

namespace UtfprLibrary.Communication.Contracts {
    /// <summary>
    /// TODO
    /// </summary>
    [ServiceContract(CallbackContract = typeof(IPublishing))]
    public interface ISubscription {
        /// <summary>
        /// TODO
        /// </summary>
        /// <param name="subject"></param>
        [OperationContract]
        void Subscribe(string subject);

        /// <summary>
        /// TODO
        /// </summary>
        /// <param name="subject"></param>
        [OperationContract]
        void UnSubscribe(string subject);
    }
}
